package com.demo.mapper;

import com.demo.entity.Message;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

public interface MessageMapper {
    //����������Ϣ
    void insertMessageInfo(@Param("pid")String pid,@Param("uname")String uname,@Param("content")String content);		

    ArrayList<Message> selectAllMessage();													//��ѯ����������Ϣ
    void deleteMessageInfo(String content);													//ɾ��������Ϣ
    
}
